package com.frame.auth.resource.security.common;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @auther zhangwj
 * @date 2021/4/13 上午9:36
 */
@ConfigurationProperties(prefix = "security.request")
public class SecurityRequest {

    private String headers = "Authorization";

    private String value = "Bearer";

    public String getHeaders() {
        return headers;
    }

    public void setHeaders(String headers) {
        this.headers = headers;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "SecurityRequest{" +
                "headers='" + headers + '\'' +
                ", value='" + value + '\'' +
                '}';
    }
}
